<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <form action="/index/upload"  method="POST" enctype="multipart/form-data">
    <input type="file" name="avator">
    <button type="submit">上传</button>
  </form>

  <form>
    <input type="file" id="inp">
    <button type="button" id="btn">上传</button>
  </form>
  <form>
    <input type="file" id="minp" multiple>
    <button type="button" id="mbtn">上传</button>
  </form>
  <script src="https://lib.baomitu.com/jquery/1.12.4/jquery.min.js"></script>
  <script src="./javascripts/index.js"></script>
</body>
</html>